package com.jk.kdd.system.dao;

import com.jk.kdd.system.model.SystemRole;

import java.util.List;

public interface SystemRoleMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SystemRole record);

    int insertSelective(SystemRole record);

    SystemRole selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SystemRole record);

    int updateByPrimaryKey(SystemRole record);

    List<SystemRole> selectByUserId(Long id);

    List<SystemRole> selectAll();
}